package edu.webtech.project.client;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

import edu.webtech.project.shared.UserInfoDTO;

@RemoteServiceRelativePath("userAccountService")
public interface UserAccountService extends RemoteService {
	
	
	public UserInfoDTO getUser (String userName) throws IllegalArgumentException;
	
	public void register(
			String firstName,
			String lastName,
			String userName,
			String userPass,
			String emailAdd
			) 
			throws IllegalArgumentException;

}
